You said:
Please write a regex function that matches any word that has a repeated consonant in it. Examples: It should match to 'connect' because of the double n, it should not match 'banana' because the two n's are not next to each other. Only return the regex function